{% extends 'sys_templates/public/seed_base.html' %}
{% block content %}
    <style>
    #gender span{display: none}
    #gender label{margin-left: -20px;}
    </style>
    <form class="layui-form">
        {% for foo in form %}
            <div class="layui-form-item">
                <label class="layui-form-label">
                    {{ foo.label }}
                </label>
                <div class="layui-input-inline">
                    {{ foo }}
                </div>
            </div>
        {% endfor %}
        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <a class="layui-btn" href="javascript:;" onclick="submit_post()">立即提交</a>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    {% if title=='修改会员密码' %}
    <input type="hidden" value="{{ form.username.data }}" name="username">
    {% endif %}
    </form>

{% endblock %}
